package com.hitgo.soccer.config;

/**
 * memcached配置相关
 *
 */
public class CacheConfig 
{
	public static String poolList = "http://localhost:8091/pools";//cache池列表
	
	public static String poolName= "default";	//池名称
	
	public static int initConn = 10;		//初始化连接数
	
	public static int minConn = 50;//最小连接数
	
	public static int maxConn = 200;//最大连接数
	
	public static long maxIdle = 21600000;//最大失效连接
	
	//set the sleep for the maint thread,it will wake up every x seconds and maintain the pool size
	public static int maintSleep = 30;
	
	public static boolean nagle = false;
	
	public static int socketTo = 3000;
	
	public static int socketConnTo = 0;
	
	public static boolean compressEnable = false;//开启压缩
	
	public static long commpressThreshold = 65536;//压缩量
	
	public static boolean	sanitizeKeys = false;//对key进行urlencoding
	
	public static boolean useCache = false;
}


